import { IsBlank } from "../../methods/judge";
import { RuleInfo } from "../InjectionRule";

export const blankRemove: RuleInfo = {
	ruleType: "position",
	ruleData: (save, origin, rule, str, index, char, length) => {
		return char && IsBlank(char) ? "next" : "execute";
	},
}
